package cn.zc.curriculum.entity;

import cn.tools.core.base.entity.SuperEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 题目选项
 * </p>
 *
 * @author keno
 * @since 2022-02-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class QuestionOption extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 租户号
     */
    @TableField("TENANT_ID")
    private String tenantId;

    /**
     * 乐观锁
     */
    private Integer version;


    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 关联题id;关联题id
     */
    private String questionId;

    /**
     * 题目选项抬头，如单选题a,b,c;题目选项抬头，如单选题a,b,c
     */
    private String questionTitle;

    /**
     * 题目说明，题后所跟，如：a.这是说明;题目说明，题后所跟，如：a.这是说明
     */
    private String questionExplain;

    @TableLogic
    private Integer deleted;


}
